package com.example.backend.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author xwyzsn
 * @since 2023-03-07
 */
@Data
public class Employee implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * employee id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * employee name
     */
    private String name;

    /**
     * employee birth
     */
    private Date birth;

    /**
     * dept_id
     */
    private String deptId;

    /**
     * tel
     */
    private String tel;

    /**
     * qq
     */
    private String qq;

    private String email;

    /**
     * employee gender
     */
    private String gender;

    /**
     * employee password
     */
    private String password;

    /**
     * education
     */
    private String education;

    /**
     * employee address
     */
    private String address;

    /**
     * employee nation
     */
    private String nation;

    /**
     * employee user id
     */
    private Integer userId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public Date getBirth() {
        return birth;
    }

    public void setBirth(Date birth) {
        this.birth = birth;
    }
    public String getDept_id() {
        return deptId;
    }

    public void setDept_id(String deptId) {
        this.deptId = deptId;
    }
    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }
    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }
    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education;
    }
    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }
    public Integer getUser_id() {
        return userId;
    }

    public void setUser_id(Integer userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "Employee{" +
            "id=" + id +
            ", name=" + name +
            ", birth=" + birth +
            ", deptId=" + deptId +
            ", tel=" + tel +
            ", qq=" + qq +
            ", email=" + email +
            ", gender=" + gender +
            ", password=" + password +
            ", education=" + education +
            ", address=" + address +
            ", nation=" + nation +
            ", userId=" + userId +
        "}";
    }
}
